﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Top.aspx.cs" Inherits="Jy123.Web.Manage.Top" %>
<html xmlns="http://www.w3.org/1999/xhtml" lang="UTF-8">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台头部</title>
    <link type="text/css" rel="stylesheet" href="css/base.css" />
    <script type="text/javascript" src="js/jquery.js"></script>
</head>
<body>
    <div class="wrapper">
        <div class="header-wrapper">
            <div class="header">
                <div class="title">
                    <img alt="" src="css/images/logo1.png" class="logo" title="关闭左边管理菜单" onclick="DisplayNav()" />
                    <img alt="" src="css/images/title.png" />
                </div>
                <div class="links">
                    <a class="current" href="Password.aspx" target="main"><span>密码修改</span></a>
                    <a href="#" target="_blank">后台帮助</a>
                    <div id="passport" class="passport">
                        <a href="#" title="<% =MName%>" class="username up-layer"><span><% =MName%></span></a>
                        <a title="<% =MName%>" class="username"><span><% =MName%></span></a>
                        <a href="Logout.aspx" class="logout" target="_top"><span>注销</span></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="banner-wrapper">
            <div class="banner">
                <div class="menu">
                    <a class="current" href="home.html" target="main"><span>首 页</span></a>
                    
                    <% =QuickMenu %>
                </div>
            </div>
        </div>
        <div class="shadowStrip">&nbsp;</div>
    </div> 
    <script language="javascript" type="text/javascript">
        var displayBar = true;
        $(
        $(".title .logo").click(function() {
            if (displayBar) {
                parent.frame.cols = "0,*";
                displayBar = false;
                this.src = "css/images/logo.png";
                this.title = "打开左边管理菜单"
            }
            else {
                parent.frame.cols = "195,*";
                displayBar = true;
                this.src = "css/images/logo1.png";
                this.title = "关闭左边管理菜单"
            }
        }),
        $(".menu a").click(function() {
            $('.menu a.current').removeClass('current');
            $(this).addClass('current');
        })
        );
        function DisplayNav()
        {
            var nav = document.getElementById('divLeft');
            var main = document.getElementById('divmain');
            if(nav.style.display=='block'|| nav.style.display=='')   
            {
                nav.style.display='none';
                main.style.display = 'block';
            }
            else
            {   
                nav.style.display='block';   
                main.style.marginleft='395px';
            }   
        } 
    </script>
</body>
   
</html>
